package com.attendance.sz.net;


import com.attendance.sz.utils.Entity;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by Administrator on 2016-03-22.
 */
public interface SmartService {
    @FormUrlEncoded
    @POST("UploadPicture")
    Observable<Entity> queryAccountInfo(@Field("FileName") String FileName,@Field("Buffer") String Buffer);

    @GET("/GetEmployeeImage{CardID}")
    Observable<Entity> GetEmployeeImage(@Path("CardID") String CardID);

    @FormUrlEncoded
    @GET("GetEmployeeImage")
    Observable<Entity> GetEmployeeImage1(@Field("CardID") String CardID);
}
